package com.jr.entry;

import org.springframework.stereotype.Component;

@Component
public class Users {
    public Integer user_id;
    private String user_code;
    private String password;
    private String email;
    private String gender;
    private String register_time;
    private String last_logintime;

    public Users() {
    }

    public Users(Integer user_id, String user_code, String password, String email, String gender, String register_time, String last_logintime) {
        this.user_id = user_id;
        this.user_code = user_code;
        this.password = password;
        this.email = email;
        this.gender = gender;
        this.register_time = register_time;
        this.last_logintime = last_logintime;
    }

    /**
     * 获取
     * @return user_id
     */
    public Integer getUser_id() {
        return user_id;
    }

    /**
     * 设置
     * @param user_id
     */
    public void setUser_id(Integer user_id) {
        this.user_id = user_id;
    }

    /**
     * 获取
     * @return user_code
     */
    public String getUser_code() {
        return user_code;
    }

    /**
     * 设置
     * @param user_code
     */
    public void setUser_code(String user_code) {
        this.user_code = user_code;
    }

    /**
     * 获取
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     * @return email
     */
    public String getEmail() {
        return email;
    }

    /**
     * 设置
     * @param email
     */
    public void setEmail(String email) {
        this.email = email;
    }

    /**
     * 获取
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     * @return register_time
     */
    public String getRegister_time() {
        return register_time;
    }

    /**
     * 设置
     * @param register_time
     */
    public void setRegister_time(String register_time) {
        this.register_time = register_time;
    }

    /**
     * 获取
     * @return last_logintime
     */
    public String getLast_logintime() {
        return last_logintime;
    }

    /**
     * 设置
     * @param last_logintime
     */
    public void setLast_logintime(String last_logintime) {
        this.last_logintime = last_logintime;
    }

    public String toString() {
        return "Users{user_id = " + user_id + ", user_code = " + user_code + ", password = " + password + ", email = " + email + ", gender = " + gender + ", register_time = " + register_time + ", last_logintime = " + last_logintime + "}";
    }
}
